﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Fotobanka
{
    /// <summary>
    /// Trida pro reprezentaci prihlaseneho uzivatele
    /// </summary>
    public class LoginInfo
    {

        private int id;
        public int Id
        {
            get {
                return id;
            }
            set {
                id = value;
            }
        }

        private Utils.SystemRoles role;
        public Utils.SystemRoles Role
        {
            get {
                return role;
            }
            set {
                role = value;
            }
        }

        private int adminid;
        public int AdminId
        {
            get {
                return adminid;
            }
            set {
                adminid = value;
            }
        }

        public LoginInfo()
        {

        }

        public LoginInfo(int id, Utils.SystemRoles role)
        {
            this.Id = id;
            this.Role = role;
        }
    }
}
